package com.ruyuan.user.server.controller.request;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * @author xx
 */
@Data
public class DoLoginRequest implements Serializable {

    private static final long serialVersionUID = 8659751558338372712L;

    @NotEmpty(message = "用户名不能为空")
    private String userName;

    @NotEmpty(message = "密码不能为空")
    private String password;

}
